#include "MainWindow.h"
#include <QApplication>
#include "ac/ACBuilder.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    uint8_t buffer[256]  = {0};

    uint8_t payload[128];

    ACBuilder* builder  = ACBuilder::getInstance();

    payload[0]  = 0xf0;
    payload[1]  = 0x0f;
    builder->buildPackage(1, 0, 2, payload, 2);


    MainWindow w;
    w.show();

    return a.exec();
}
